import json

from config import BASE_DIR


def read_data(file):
    data_list = []
    with open(f"{BASE_DIR}\\data\\{file}", encoding="utf-8") as f:
        new_list = json.load(f)
        for data in new_list:
            data_list.append(tuple(data.values()))

    return data_list

if __name__ == '__main__':
    print(read_data("member_data.json"))